<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>     
<%@ taglib uri="http://java.sun.com/jstl/core"			 		prefix="c"%>

    <ul class="shortcut-buttons-set">
    <c:choose>
   		<c:when test="${sessionScope.provider != null && sessionScope.provider.parentId!=null}">
    		<li><a class="shortcut-button" href="exchange" target="rightFrame"><span > <img src="${pageContext.request.contextPath}/images/icons/pencil_48.png" alt="icon" /><br />
        	兑换电子券 </span></a></li>
     	    <li><a class="shortcut-button" href="consumer-records" target="rightFrame"><span > <img src="${pageContext.request.contextPath}/images/icons/paper_content_pencil_48.png" alt="icon" /><br />
        	消费记录 </span></a></li>
   		</c:when>
   		<c:otherwise>
   		 	<li><a class="shortcut-button" href="agent/index" target="rightFrame"><span > <img src="${pageContext.request.contextPath}/images/icons/paper_content_pencil_48.png" alt="icon" /><br />
        	消费记录 </span></a></li>
	   	</c:otherwise>
	</c:choose>
    </ul>
    <!-- End .shortcut-buttons-set -->
    <div class="clear"></div>
    <!-- End .clear -->
   